//
//  UIButton+YBAdd.h
//  yiban
//
//  Created by yiban on 16/6/30.
//  Copyright © 2016年 wry. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (YBAdd)
@property (nonatomic,assign) CGRect titleRect;
@property (nonatomic,assign) CGRect imageRect;
- (void)setBackgroundColor:(UIColor *)backgroundColor forState:(UIControlState)state;
+(UIButton*)createBtnWithFrame:(CGRect)btnframe title:(NSString*)title font:(UIFont*)font fontColor:(UIColor*)fontColor backGroundColor:(UIColor*)backGroundColor imageName:(NSString*)imageName urlName:(NSString*)urlName selectImageName:(NSString*)selectImageName placeHoldImageName:(NSString*)placeHoldImageName target:(id)target action:(SEL)action;

@end
